play into (someone's) hands

Translations
играть на руку (кому-либо)
The protesters' violent actions played into the hands of the government.
Действия протестующих сыграли на руку правительству.
Definitions
To unintentionally do something that gives an advantage to an opponent or someone else, often by acting in a way that helps them achieve their goals.